<?php

return [
    'alipay' => [
        // 支付宝分配的 APPID
        'app_id' => env('ALI_APP_ID', '2019071665859468'),

        // 支付宝异步通知地址
        'notify_url' => "https://api.gushitech.com/api/payment/notify/alipay",

        // 支付成功后同步通知地址
        'return_url' => '',

        // 阿里公共密钥，验证签名时使用
        //'ali_public_key' => env('ALI_PUBLIC_KEY', ''),
        'ali_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0s4eIpiuX54d3Tb6+qdDM5IQcYaftmN/U9R0r0f/TLalS8eNN7CsT/NcbFoBUWcr/O+2FW5rBcTHDfpiuxjWqosnZ6xr+drpijIGoEpF8HgPGT/CVfkSCdy2fmFR91zr4mITM2UQvX+e0S0g7VBmrbmL5mI2bgOMMSToHvcrEDzugMn0NDtELyAMVdmQm4YMlPiSiWBfT9nNmoQUqOBhzwX11POjW5qbmtHibjC5thloVmS1J7lE3gC63U2LaFcsnrH6/3Ax1hCOdrcOFdW2N0VHR44d/JKsjPPLABwqmFrBJSqjYI2u2BpzL6NoHji5g8ph3nWBPObAozu2lWI0qQIDAQAB",

        // 自己的私钥，签名时使用
        //'private_key' => env('ALI_PRIVATE_KEY', ''),
        'private_key' => "MIIEowIBAAKCAQEAxs223hZWS+F6CEhotDPfNtk1Mo0IGOKGzeDSLK0u/aTiDblC7npi1KlOEaAqc/tMCZFjIhVWZkYKc7lB0nB9yNPEEtAWOWEhxNzQyUsQ8CCUj2XiUrlOJXDSfi4HHZBGYi36LIdUtuANi87FPrcLl9ZNXGaHMQ1LmgwKaBshJAdj2PqWVUQfcipzcvIOUao6bXnwqbLy8RmmMv4MkHvW6Pij0FoET4fBkY1JyE4vO6QfeKLuYlYHQwYbXcDzPT36BBtTGfYP1Fs3+KoQIwiHcK3lQYDWZeMqIjVWe6br9vq6QqXCe+Dx4PSc9kwg4NUzu+7eLsBhZbmjZElsigM4mwIDAQABAoIBAQCJTzJbyE/ITy6rI9/1ftJQHsvIY3JRRbxX3E0uAFuxY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j5SVL4aaj+zFGitUG4toFy8iV8M+H95/crEgmThkNrAPJjXsO61ig3g4W2abbIShyxny7/3zmcS3L/qlhVvmu4GHL01aigDWf8k",

        // optional，默认 warning；日志路径为：sys_get_temp_dir().'/logs/yansongda.pay.log'
        'log' => [
            'file' => storage_path('logs/alipay.log'),
        //  'level' => 'debug'
        //  'type' => 'single', // optional, 可选 daily.
        //  'max_file' => 30,
        ],

        // optional，设置此参数，将进入沙箱模式
        // 'mode' => 'dev',
    ],

    'wechat' => [
        // 公众号 APPID
        'app_id' => env('WECHAT_APP_ID', ''),

        // 小程序 APPID
        'miniapp_id' => env('WECHAT_MINIAPP_ID', ''),

        // APP 引用的 appid
        'appid' => env('WECHAT_APPID', ''),

        // 微信支付分配的微信商户号
        'mch_id' => env('WECHAT_MCH_ID', ''),

        // 微信支付异步通知地址
        'notify_url' => '',

        // 微信支付签名秘钥
        'key' => env('WECHAT_KEY', ''),

        // 客户端证书路径，退款、红包等需要用到。请填写绝对路径，linux 请确保权限问题。pem 格式。
        'cert_client' => '',

        // 客户端秘钥路径，退款、红包等需要用到。请填写绝对路径，linux 请确保权限问题。pem 格式。
        'cert_key' => '',

        // optional，默认 warning；日志路径为：sys_get_temp_dir().'/logs/yansongda.pay.log'
        'log' => [
            'file' => storage_path('logs/wechat.log'),
        //  'level' => 'debug'
        //  'type' => 'single', // optional, 可选 daily.
        //  'max_file' => 30,
        ],

        // optional
        // 'dev' 时为沙箱模式
        // 'hk' 时为东南亚节点
        // 'mode' => 'dev',
    ],
];
